﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebSystem
{
    public partial class ManageMain : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["IsLogin"] == null)
                {
                    Response.Redirect("Login.aspx");
                }
            }
            
        }

        protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        {
         
            Session["Theme"] = this.DropDownList1.SelectedItem.Value.ToString();
        }


        protected void Page_PreInit(object sender, EventArgs e)
        {
            if (Session["Theme"] == null)
            {
                Theme = "3";
            }
            else
            {
                this.Theme = Session["Theme"].ToString();
            }
           
           
        }

        protected void Button4_Click(object sender, EventArgs e)
        {

        }
      
    }
}
    
